package com.example.take_out_dish.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 套餐菜品关系
 * </p>
 *
 * @author wuyunbin
 * @since 2024-07-01
 */
@Getter
@Setter
@TableName("tb_setmeal_dish")
public class SetmealDish implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @TableField("setmeal_id")
    private String setmealId;


    @TableField("dish_id")
    private String dishId;

    @TableField("name")
    private String name;


    @TableField("price")
    private BigDecimal price;


    @TableField("copies")
    private Integer copies;


    @TableField("sort")
    private Integer sort;

    @TableField("create_time")
    private Date createTime;


    @TableField("update_time")
    private Date updateTime;


    @TableField("create_user")
    private String createUser;


    @TableField("update_user")
    private String updateUser;


    @TableField("is_deleted")
    private Integer isDeleted;

    @Override
    public String
    toString() {
        return "SetmealDish{" +
                "id='" + id + '\'' +
                ", setmealId='" + setmealId + '\'' +
                ", dishId='" + dishId + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", copies=" + copies +
                ", sort=" + sort +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createUser='" + createUser + '\'' +
                ", updateUser='" + updateUser + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
